These videos were made since I could see an algorithm which could make them for me, with the simple python I knew.
The video idea/format was taken from the tiktoker Roman T(@rshtempleton).
The way the program works is that it takes a midi file with chords. The chords must be quantized so the code knows that the chords are chords and not a melody.
In the Chopin piece, you can see that it doesn’t draw the first couple notes. This stems from the intervals being an octave.
The visualization technique probably doesn’t add very much to the field of music theory, but I still find the art aspect cool.